# coding: utf8
import os
from flask_uploads import IMAGES


class Config(object):
    SQLALCHEMY_ECHO = False
    SQLALCHEMY_DATABASE_URI = "mysql://root:root@127.0.0.1:3306/live_server?charset=utf8"
    SQLALCHEMY_COMMIT_ON_TEARDOWN = False
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    SECRET_KEY = "SECRET_KEY"
    SSRF_ENABLE = True

    UPLOADED_PHOTO_DEST = os.getcwd() + '/uploads/images/'
    UPLOADED_PHOTO_ALLOW = IMAGES

    ROOT_DIR = os.getcwd()

